<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>register</title>
{#include file="meta.php"#}
<style type="text/css">
.btn{
	width:200px;
	height:50px;
	line-height:50px;
	text-align:center;
	background:#454545;
	color:#FFFFFF;
	font-size:18px;
	font-weight:bold;
	font-family:Arial;
	cursor:pointer;
}

.btn a{
	color:#FFFFFF;
	text-decoration:none;
	display:block;
}

.btn a:hover{
	color:#FFFF00;
}

</style>
</head>

<body>
<center>
<table width='980px' border=0><tr>
<td width='660px' valign='top'>
<p>facebook register</p>
<form name="form1" method="post" action="{#$selfurl#}?action=reg_facebook">
<p>用戶名:<input type="text" name="username" value="{#$fbdata.name#}"></p>
<p>電郵:<input type="text" name="email" value="{#$fbdata.email#}"></p>
<p>姓名:<input type="text" name="name" value="{#$fbdata.name#}"></p>
<p>性別:<input type="radio" name="gender" value="1" {#if $fbdata.gender=='male'#}checked{#/if#}>男 <input type="radio" name="gender" value="2" {#if $fbdata.gender=='female'#}checked{#/if#}>女</p>
<p>生日:<input type="text" name="birth" value="{#$fbdata.birth#}"></p>
<p>驗證碼:<input type="text" name="captcha" maxlength="4" style="width:50px"> <img src="captcha.php"></p>
<p><input type="submit" name="b1" value="註冊"></p>
<input type="hidden" name="uid" value="{#$fbdata.uid#}">
<input type="hidden" name="send" value="true">
</form>
</td>
<td width='310px' valign='top' align='center'>
{#show_block('b2',1,'','sidebar_ad')#}
{#show_block('b1',2,'','sidebar_function')#}
{#show_block('b3',0,'','sidebar_search')#}
{#show_block('b4',0,'','sidebar_workshop')#}
{#show_block('b5',0,'','sidebar_top3 b_box')#}
</td></tr></table>
</center>
</body>
</html>
